package com.btsk.service.impl;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.hibernate.Hibernate;
import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;

import com.btsk.dao.VehicleInfoDao;
import com.btsk.model.VehicleInfo;
import com.btsk.service.VehicleInfoManager;

public class VehicleInfoManagerImpl extends GenericManagerImpl<VehicleInfo, Long>
		implements VehicleInfoManager {

	private VehicleInfoDao vehicleInfoDao;
	
	public VehicleInfoDao getNewGpsInfoDao() {
		return vehicleInfoDao;
	}

	public void setVehicleInfoDao(VehicleInfoDao vehicleInfoDao) {
		this.dao = vehicleInfoDao;
		this.vehicleInfoDao = vehicleInfoDao;
	}
	
	@Override
	public List<VehicleInfo> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public VehicleInfo findCarInfoByTermno(String termno) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public VehicleInfo findVehicleInfoByTermId(Integer deviceId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<VehicleInfo> findVehicleInfoByDeviceNo(String[] deviceNo) {
		// TODO Auto-generated method stub
		return this.vehicleInfoDao.findVehicleInfoByDeviceNo(deviceNo);
	}

	@Override
	public List<VehicleInfo> findAllTypeVehicleInfo() {
		// TODO Auto-generated method stub
		return this.vehicleInfoDao.findAllTypeVehicleInfo();
	}

}
